﻿<%@ Page Title="" Language="C#" MasterPageFile="~/form/MasterPage.Master" AutoEventWireup="true" CodeBehind="GestionCompetenciaNadador.aspx.cs" Inherits="Swimmers.GestionCompetenciaNadador" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Conteiner" runat="server">
<br />
<h1>Nadadores en Competencia</h1>

<hr />
    <br />
    Especialidad:&nbsp;
    <asp:Label ID="lblEspecialidad" runat="server" Text="Label"></asp:Label>
    <br />
    Distancia:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label 
        ID="lblDistancia" runat="server" Text="Label"></asp:Label>
&nbsp;&nbsp;<br />
    Hora Inicio: &nbsp;
    <asp:TextBox ID="txtHoraInicio" runat="server" CssClass="text" Width="62px"></asp:TextBox>
    <asp:CompareValidator ID="CompareValidator2" runat="server" 
        ControlToValidate="txt_PrecioHasta" ErrorMessage="Hora no válida" 
        Type="Integer"></asp:CompareValidator>
    <asp:RangeValidator ID="RangeValidator2" runat="server" 
        ControlToValidate="txtHoraInicio" ErrorMessage="Hora fuera del rango válido" 
        MaximumValue="24" MinimumValue="00" Type="Integer"></asp:RangeValidator>
    <br />
    Fecha:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
    <asp:TextBox ID="txt_fecha" runat="server" CssClass="text"></asp:TextBox>
    &nbsp;<asp:RangeValidator ID="RangeValidator1" runat="server" 
        ControlToValidate="txt_fecha" ErrorMessage="Fecha no válida" 
        MaximumValue="31/12/2014" MinimumValue="01/01/1800" Type="Date"></asp:RangeValidator>
    <br />
    <asp:Button ID="cmd_Guardar" runat="server" CssClass="boton" 
        onclick="cmd_Guardar_Click" Text="Guardar" />
    <br />
    <br />
    <h2>Nadadores</h2>
    Nombre:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="txtNombre" runat="server"></asp:TextBox>
    <br />
    Apellido:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="txtApellido" runat="server" 
        ontextchanged="txtApellido_TextChanged"></asp:TextBox>
    <br />
    Número de Socio:
    <asp:Label ID="lblIdSocio" runat="server" Text="Label"></asp:Label>
    <br />
    <asp:Button ID="btn_Agregar" runat="server" CssClass="boton" 
        onclick="cmd_Generar_Click" Text="Agregar" />
    <br />
<br />
    <asp:GridView ID="grdNadadoresInscriptos" runat="server" CellPadding="4" 
                    ForeColor="#333333" GridLines="None" 
        onpageindexchanging="grdVentas_PageIndexChanging" AllowPaging="True" >
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#78bbe6" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#78bbe6" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
    </asp:GridView>
<br />
</asp:Content>
